package com.tjetc.service.impl;

import com.tjetc.entity.User;
import com.tjetc.mapper.UserMapper;
import com.tjetc.service.IUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class IUserServiceImpl implements IUserService {

    @Resource
    private UserMapper userMapper;

    @Override
    public User getUserById(int id) {
        return userMapper.selectUserById(id);
    }
}
